package adapter;

/**
 * 处理外来中锋类
 */
public class ForeignCenter {
    private String name;

    public void foreignAttack() {
        System.out.println("外籍中锋:" + name + "进攻");
    }

    public void foreignDefense() {
        System.out.println("外籍中锋:" + name + "防守");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
